#!/bin/sh
docker stop chat_server
docker rm chat_server
docker rmi chat_images
docker build -t chat_images .
docker run -idt --name chat_server -p 10010:10010 -v /root/logs:/mydir/logs chat_images